package com.ruoyi.test.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级对象 classroom
 *
 * @author korol
 * @date 2023-11-11
 */
@Data
@ToString
@NoArgsConstructor
@Accessors(chain = true)
@TableName("classroom")
@ApiModel(value = "Classroom", description = "班级实体")
public class Classroom extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** # */
    @TableId(type= IdType.AUTO)
    @ApiModelProperty("#")
    private Long id;

    /** 班级名称 */
    @Excel(name = "班级名称")
    @ApiModelProperty("班级名称")
    private String name;

    /** 班级编号 */
    @Excel(name = "班级编号")
    @ApiModelProperty("班级编号")
    private String number;

}
